<!DOCTYPE html>
<html lang="zh">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>弹窗</title>
	<link href="css/notice.min.css" rel="stylesheet">
</head>

<body style="background-color: #333333;">
	<div class="" style="text-align: center;">
		<div class="htmleaf-demo " style="margin: 0 auto;">
			<a href="#" class="current" onclick="addToast()">显示Toast</a>
		</div>
		<script src="http://cdn.bootcss.com/jquery/1.11.0/jquery.min.js" type="text/javascript"></script>
		<script>
			window.jQuery || document.write('<script src="js/jquery-1.11.0.min.js"><\/script>')
		</script>
		<script src="js/toast.script.js"></script>
		<script>
			function addToast() {
				$.Notice("成功是失败他妈，成功是失败他妈，成功是失败他妈，成功是失败他妈成功是失败他妈成功是失败他妈", "success", {
					stack: true,
					has_icon: true,
					has_close_btn: true,
					fullscreen: false,
					timeout: 60000,
					has_progress: true,
					stack: true,
					position_class: "notice-top-center"
				});
			}
		</script>
</body>

</html>